Denizen Script Events


Events are a way to listen to things that happened on your server and respond to them through a script. These usually pair with 'world' script containers.
Learn about how events work in The Beginner's Guide.


Showing 1 out of 382 events...
Nameserver resources reloaded
Event Lines server resources reloaded
Triggerswhen vanilla resources (such as datapacks) are reloaded (by vanilla commands or by plugins). If you mess with datapacks often, it may be helpful to run Command:reload in this event.
Generated Examplesafter server resources reloaded:
Switchescause:<cause> to only process the event if the cause of the resource reload matches the specified cause.
Contexts<context.cause> Returns the cause of the resource reload. Refer to 🔗https://jd.papermc.io/paper/1.19/io/papermc/paper/event/server/ServerResourcesReloadedEvent.Cause.html
GroupPaper
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/events/ServerResourcesReloadedScriptEvent.java#L12